package com.example.front.service;

import com.example.front.vo.ProductDetailVo;
import com.example.front.vo.ProductListVo;
import com.example.gok_mall.entity.Product;
import com.example.gok_mall.reponseData.ResultData;
import com.github.pagehelper.PageInfo;

import java.util.List;


public interface ProductService {


    ResultData<ProductListVo> manageProductDetail(Integer productId);

    //List集合
    List<Product> getProductList(Integer pageNum, Integer pageSize);


    ResultData<PageInfo> getProductList(int pageNum, int pageSize);

    //查询商品的详细信息
    ResultData<ProductDetailVo> getProductDetail(Integer productId);

    //查询商品列表
    ResultData<PageInfo> getProductByKeywordCategory(String keyword, Integer categoryId, int pageNum, int pageSize, String orderBy);
}

